home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Snippets / Networking / ZapTCP Application / ZapTCP README < prev    next >
Encoding:
Text File  |  1993-10-27  |  781 b   |  18 lines  |  [TEXT/KAHL]

  1. ZapTCP application
  2. ------------------
  3. Steve Falkenburg
  4. MacDTS
  5. 6/29/93
  6. ------------------
  7.  
  8. This small application contains a trap patch to _ExitToShell which will search all open MacTCP
  9. connections for any connections which are allocated within the application which is currently in
  10. the process of quitting or crashing.
  11.  
  12. For any connection found to be allocted within the app heap, the connection will be closed and
  13. its assocated MacTCP stream will be released.  This will prevent most of the Mac crashes associated
  14. with MacTCP networking, contributing to Mac reliability and stability.
  15.  
  16. You can easily put this code into your MacTCP application for the same functionality.  Also, this
  17. code could be changed to close other network resources such as PPC toolbox or ADSP connections.
  18.